package com.aaa.dao.sds;

import com.aaa.entity.sds.PlanSds;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 测试计划sds(PlanSds)表数据库访问层
 *
 * @author makejava
 * @since 2022-09-01 19:18:03
 */
public interface PlanSdsDao {
    /**
     * @create by: Teacher马
     * @description:查讯所有 分页 排序
     * @create time:

     * @return
     */
    List<Map<String,Object>> queryAllPlanSdsPage(PlanSds planSds);

    /**
     * @create by: Teacher马
     * @description:添加
     * @create time:

     * @return
     */
    boolean savePlanSds(PlanSds planSds);

    /**
     * @create by: Teacher马
     * @description:根据id删除 多选删除
     * @create time:

     * @return
     */
    boolean deletePlanSds(@Param("xxx") int[] id);

    /**
     * @create by: Teacher马
     * @description:修改
     * @create time:

     * @return
     */
    boolean updatePlanSds(PlanSds planSds);
    /**
     * @param
     * @return Integer
     * @create by:
     * @description: 查询计划是否重名
     * @create time:
     */
    Integer repetitionName(PlanSds  planSds);
    /**
     * @create by: Teacher马
     * @description:修改
     * @create time:

     * @return
     */
    List<PlanSds> queryAll();
}

